import 'package:flutter/material.dart';

class StackTest extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("StackTest"),
      ),
      body: Stack(
        children: [
          FlutterLogo(size: 1000),
          FlutterLogo(size: 60),
          Container(
            width: 50,
            height: 50,
            color: Colors.amber,
          ),
          Positioned(
            bottom: 10,
            left: 10,
            child: Container(
            width: 40,
            height: 40,
            color: Colors.blue,
          )),
          Positioned(
            top: 0,
            bottom: 0,
            left: 0,
            right: 0,
            child: Center(
            child: Container(
              width: 40,
              height: 40,
              color: Colors.cyanAccent,
            ),
          ))
        ],
      ),
    );
  }
  
}
